from flask import Flask
from flask_sqlalchemy import SQLAlchemy

class Config(object):
    debug = True
    SQLALCHEMY_DATABASE_URI = 'mysql://root:mysql@192.168.197.129:3306/info_db'
    SQLALCHEMY_TRACK_MODIFICATIONS = False

app = Flask(__name__)
app.config.from_object(Config)  #??不是很明白
db = SQLAlchemy(app)


@app.route('/')
def index():
    return 'index'

print(1)
if __name__=='__main__':
    app.run()